package DBLayer;

import java.util.List;

import modelLayer.Invoice;

public interface IFDBInvoice {
	
	
	//return list
	public List<Invoice> getAll(boolean retriveAssociation);
	
	//return invoice
	public Invoice findInvoice(String invoiceID, boolean retriveAssociation);
	
	//insert invoice
	public int insertInvoice(Invoice inv, boolean retriveAssociation) throws Exception;
	
	//update invoice
	public int updateInvoice(Invoice inv, boolean retriveAssociation);
	
	//delete invoice
	public int deleteInvoice(String invoiceID);

}
